<!doctype html>
<html class="x-admin-sm">
<head>
    <meta charset="UTF-8">
    <title>后台登录-X-admin2.2</title>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <link rel="stylesheet" href="./css/font.css">
    <link rel="stylesheet" href="./css/login.css">
    <link rel="stylesheet" href="./css/xadmin.css">
    <script src="js/jquery.min.js"></script>
    <script src="./lib/layui/layui.js" charset="utf-8"></script>
    <script src="js/login.js"></script>

    <!--[if lt IE 9]>
    <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
    <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body class="login-bg">

<div class="login layui-anim layui-anim-up">
    <div class="message">x-admin2.0-管理登录</div>
    <div id="darkbannerwrap"></div>

    <form method="post" action="/login" class="layui-form">
        <input name="username" placeholder="用户名" type="text" lay-verify="required" class="layui-input">
        <hr class="hr15">
        <input name="password" lay-verify="required" placeholder="密码" type="password" class="layui-input">
        <hr class="hr15">
        <label style="display: flex">
            <input name="code" lay-verify="required" placeholder="验证码" type="text" class="layui-input">
            <img src="/code" alt="验证码" style="cursor: pointer" title="点击换一张"
                 onclick="this.src='/code?r='+Math.random()">
        </label>
        <hr class="hr15">
        <input value="登录" lay-submit lay-filter="login" style="width:100%;" type="submit">
        <hr class="hr20">
        <!--        <div lay-submit lay-filter="aa" style="color:#000;">添加监听</div>-->
    </form>

</div>


<script>
    var aa = "abcdefgabcde";//3  true布尔 {}对象  []数组
    console.log(aa.replace('a','u'));
    // let length = aa.length;
    // let d = aa.charAt(2);
    // aa.
    // console.log(d)
    // function f() { //函数，Java叫做方法Method
    //     let bb = 3;//穿透 破级
    //     var cc=4;
    // }
    // js定义方法用function aa()，定义对象用function Aa(){}
    // function aa(){
    //
    // }
    // function Aa(){
    //
    // }
    //jsp的九大内置对象？config，exception和四大作用域：page，request，session，application
    //var 是es5之前的版本let和const是EMANScript6之后的版本
    //java的es  elasticSearch
    // String aa="aa";
    //js属于弱语言，它判断数据类型根据值自动判断
    // document.write('"aaaaaaa"');
    // console.log("aaaaaaaa")
    // alert('welcome!'); //  一个按钮
    // confirm('can you speak english?');//两个按钮
    // let s = prompt('how old are you?', '23');
    // if (s) {
    //     //    点击确定执行
    // } else {
    //     //    点击取消执行
    // }

    //    点击 确定执行里面的内容
    //有默认回答，两个按钮

</script>
</body>
</html>
